//index.js
//获取应用实例
const app = getApp()

Page({

  data: {
    //顶部轮播图
    imgUrls: [
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/也总_0210.jpg',
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/宝宝_092timg.jpg',
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/一人之下_02.jpg'
    ],
    //第二部分数据数组
    contentImgUrls: [{
      id: '001',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/也总_082.jpg'
    }, {
      id: '002',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/不摇碧莲.jpg'
    }, {
      id: '003',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/宝宝.jpg'
    }, {
      id: '004',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/一人之下_001.jpg'
    }, {
      id: '005',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/夏禾.jpg'
    }, {
      id: '006',
      title: '',
      url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/一人之下/一人之下_03.jpg'
    }],

    indicatorDots: true, //显示面板显示点
    autoplay: true, //自动切换
    interval: 3000, //切换时间
    duration: 1000 //动画时长
  },


  //到天气查询页
  toWeatherQuery: function(e) {
    console.log("城市名称" + this.data.cityName2 + "名称" + this.data.userName)
    wx.navigateTo({
      url: '../../weather/weather'
    })
  },
  toyuxiang: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  toHeroMemories: function(e) {
    wx.navigateTo({
      url: '../HeroMemories/HeroMemories'
    })
  },
  to_001: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_002: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_003: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_004: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_005: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_006: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
 

})